package com.eastseeway.radioproject.entities;

public enum BottomBoardFunctionCode {

    cmd_bottombrd_Vbus_Set((short) 1), //Android主板对底板Vbus电压进行设置命令，其后2字节为(uint16_t)Vbus预设电压值(3-30V)*100(保留2位小数，放大100倍)
    cmd_bottombrd_Power_On_Negative_Press_Board((short)2),//给负压板上电
    cmd_bottombrd_Power_Off_Negative_Press_Board ((short)3),//给负压板断电
    cmd_bottombrd_Power_On_Bizzer ((short)4), //给蜂鸣器上电
    cmd_bottombrd_Power_Off_Bizzer ((short)5),//给蜂鸣器断电
    cmd_TTE_Vbus_Set((short)6), //TTE 板对底板Vbus电压进行设置命令，其后2字节为(uint16_t)Vbus预设电压值(3-30V)*100(保留2位小数，放大100倍)
    cmd_bottombrd_Power_On_Handle((short)7),//给手柄板上电，也即对手柄切换板、能量板同时控制
    cmd_bottombrd_Power_Off_Handle((short)8),//给手柄板断电，也即对手柄切换板、能量板同时控制
    cmd_bottombrd_read_firmware_info((short)9);//给手柄板断电，也即对手柄切换板、能量板同时控制

//    cmd_bottombrd_Button_LED1_On ((short)6) ,  //给按键板LED1上电
//    cmd_bottombrd_Button_LED1_Off ((short)7), //给按键板LED1断电
//    cmd_bottombrd_Button_LED2_On ((short)8),  //给按键板LED2上电
//    cmd_bottombrd_Button_LED2_Off ((short)9), //给按键板LED2断电
//    cmd_bottombrd_Button_LED3_On ((short)10),  //给按键板LED3上电
//    cmd_bottombrd_Button_LED3_Off ((short)11); //给按键板LED3断电

    private final short value;
    BottomBoardFunctionCode(short i) {
        this.value = i;
    }
    public short getCode() {
        return value;
    }
}
